import { SUB_NUMBER, ADD_NUMBER,INC_NUMBER } from './constants.js'


export const addAction = (num) => {
  return {
    type: ADD_NUMBER,
    num
  }
}

export const subAction = (num) => {
  return {
    type: SUB_NUMBER,
    num
  }
}

export const incAction = () => {
  return {
    type: INC_NUMBER,
  }
}